import {request,requestPost} from './request'
import axios from 'axios'

export function gettoken(){
	return request({
		url:"/check?name=lss&psw=123456789011"
	})
}


export function getBlog(category){
	return request({
		url:"/getBlog?category="+category
	})
}


export function reg(name,psw){
	return request({
		url:"/reg?name="+name+"&psw="+psw
	})
}

export function check(name,psw){
	return request({
		url:"/checkUser?name="+name+"&psw="+psw
	})
}

export function publish(name,content,category,title){
	return requestPost({
		name,
		content,
		category,
		title
	},'publish')
}

export  function getmovie(url){

  return request({
    url:url
		
  })
}


export  function search(kw){

  return request({
    url:"search?kw="+kw
		
  })
}


export  function getRotation(){

  return request({
    url:'/getRotation'
  })
}


export  function gethlw(page){

  return request({
    url:'/gethlw?page='+page
		
  })
}


export  function getdongzuo(page){

  return request({
    url:'/getdongzuo?page='+page
		
  })
}


export  function getxiju(page){

  return request({
    url:'/getxiju?page='+page
		
  })
}


export  function getaiqing(page){

  return request({
    url:'/getaiqing?page='+page
		
  })
}
export  function getmaoxian(page){

  return request({
    url:'/getmaoxian?page='+page
		
  })
}

export  function getwenyi(page){

  return request({
    url:'/getwenyi?page='+page
		
  })
}

export  function getjingsong(page){

  return request({
    url:'/getjingsong?page='+page
		
  })
}

export  function getqingchun(page){

  return request({
    url:'/getqingchun?page='+page
		
  })
}

export  function getzhanzheng(page){

  return request({
    url:'/getzhanzheng?page='+page
		
  })
}

export  function getnvxing(page){

  return request({
    url:'/getnvxing?page='+page
		
  })
}

export  function getkehuan(page){

  return request({
    url:'/getkehuan?page='+page
		
  })
}

export  function getjiating(page){

  return request({
    url:'/getjiating?page='+page
		
  })
}

export  function getjinfei(page){

  return request({
    url:'/getApp?page='+page
		
  })
}

export  function gettiyu(page){

  return request({
    url:'/gettiyu?page='+page
		
  })
}

export  function getshenhua(page){

  return request({
    url:'/getshenhua?page='+page
		
  })
}
export  function getwuxia(page){

  return request({
    url:'/getwuxia?page='+page
		
  })
}

export  function getxiangcun(page){

  return request({
    url:'/getxiangcun?page='+page
		
  })
}
export  function getdonghua(page){

  return request({
    url:'/getdonghua?page='+page
		
  })
}

export  function getshaoer(page){

  return request({
    url:'/getshaoer?page='+page
		
  })
}

export  function getzhuanji(page){

  return request({
    url:'/getzhuanji?page='+page
		
  })
}

export  function getzainan(page){

  return request({
    url:'/getzainan?page='+page
		
  })
}

export  function getjingdian(page){

  return request({
    url:'/getjingdian?page='+page
		
  })
}

export  function getlishi(page){

  return request({
    url:'/getlishi?page='+page
		
  })
}




